@import "./mixin.scss";
@import "../../uni.scss";

// 使用mixin
@include margin(top);
@include margin(right);
@include margin(bottom);
@include margin(left);
@include width;
@include height;
@include heightVh;
@include padding(top);
@include padding(right);
@include padding(bottom);
@include padding(left);
@include marginDistance;
@include paddingDistance;

view,
page,
text,
button,
image,
textarea,
scroll-view,
input {
  box-sizing: border-box;
}
page {
  background-color: #fff;
  // padding-bottom: 48px;
}
image {
  display: block;
}
button {
  margin: 0;
  padding: 0;
  background-color: #ffff;
}
// 拓展button样式
button[type="primary"] {
  background-color: $themeColor !important;
}
button[type="success"] {
  background-color: $uni-color-success !important;
  color: #ffffff;
}
button::after {
  border: none;
}
// 主题背景色
.themeBgColor {
  background-color: $themeColor;
}
// 主题字体色
.themeFontColor {
  color: $themeColor !important;
}
.uni-calendar--fixed {
  bottom: 48px !important;
}
.input_form_box {
  .input_title {
    font-size: 32upx;
    color: #333333;
    padding: 30upx;
    &.required::before {
      content: "*";
      font-size: 28upx;
      color: #f73333;
    }
  }

  .input_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0 30upx;
    background-color: #fff;
    &.line {
      border-top: 1upx solid #f7f7f7;
    }
    &.btm_line {
      border-bottom: 1upx solid #e5e5e5;
    }
    .name {
      font-size: 28upx;
      color: #333333;
      min-width: 120upx;
      flex-shrink: 0;
      padding: 20upx 0;

      &.required::before {
        content: "*";
        font-size: 28upx;
        color: #f73333;
      }
    }
  }
  .input_info {
    padding: 20upx 0;
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: flex-end;
    > text {
      font-size: 28upx;
      color: #555555;
      margin-left: 10upx;
      flex-shrink: 0;
    }
    > view {
      font-size: 28upx;
      color: #333;
      margin-left: 10upx;
      flex-shrink: 0;
    }
    input {
      width: 100%;
      text-align: right;
      font-size: 28upx;
    }
    button {
      flex-shrink: 0;
      min-width: 146upx;
      padding: 0 30upx;
      height: 60upx;
      line-height: 60upx;
      background-color: $themeColor;
      border-radius: 8upx;
      font-size: 32upx;
      color: #ffffff;
      margin-left: 20upx;
    }
  }
}

.bg-color {
  background-color: #fff;
}
.bg-gray {
  background-color: #f5f5f5;
}
//主题色
.color_theme {
  color: $themeColor;
}
//文字的颜色 白色
.color_w {
  color: #fff;
}
.color_link {
  color: #0099ff;
}
//文字的颜色 红色
.color_r {
  color: #e82223;
}
//文字的颜色 黑色
.color_87 {
  color: #000000;
}
//文字的颜色 黑色 54%
.color_54 {
  color: #666666;
}
.color_gray {
  color: gray;
}
//文字的颜色 黑色 27%
.color_27 {
  color: #999999;
}
.txt_bold {
  font-weight: bold;
}

.uni-forms-item__content {
  line-height: 36px;
}

.row {
  position: relative;
  flex-direction: row;
  box-sizing: border-box;
  display: flex;
}
.col1 {
  flex: 1;
}
.col2 {
  flex: 2;
}
.col3 {
  flex: 3;
}
.col4 {
  flex: 4;
}

.segmented-control {
  background-color: #fff;
}

.uni-forms-item--border {
  padding: 6px 0 !important;
}

.uni-input {
  height: 28px;
  line-height: 28px;
  font-size: 15px;
  padding: 0;
  flex: 1;
  background-color: #fff;
}

.uni-forms-item{
	    margin-bottom: 18px !important;
}
